public class Daji {
    public static void main(String arg[]){
        Daji1 daji1 = new Daji1("大吉","19","男");
        daji1.introduce();
        //daji1.introduce1();
    }
}

class Daji1{
    String name;    //姓名
    String age;     //年龄
    String sex;     //性别

    public Daji1(String eName, String eAge, String eSex){
        name = eName;
        age = eAge;
        sex = eSex;
    }

    public void introduce(){
        System.out.println("我叫"+name+",今年"+age+"岁.");
    }

    private void introduce1(){
        System.out.println("我叫"+name+",今年"+age+"岁.");
    }

}
